export const comps:Record<string,any> = {
  "ElsElem": {
    "name": "ElsElem",
    "label": "抽象元素",
    "desc": "抽象数据渲染",
    "sort": 0,
    "menu": "抽象元素",
    "group": "Base",
    "kebabName": "els-elem",
    "demos": [
      "ElsElemDemo1",
      "ElsElemDemo2"
    ]
  },
  "ElsForm": {
    "name": "ElsForm",
    "label": "抽象表单",
    "desc": "",
    "sort": 1,
    "menu": "抽象表单",
    "group": "Base",
    "demos": [
      "ElsFormDemo1",
      "ElsFormDemo2",
      "ElsFormDemo3"
    ],
    "kebabName": "els-form"
  },
  "ElsContent": {
    "name": "ElsContent",
    "label": "静态内容数据化",
    "desc": "用数据来描述静态页面，配合 unocss 可以实现动态样式配置",
    "sort": 0,
    "menu": "静态内容数据化",
    "group": "LowCode",
    "demos": [
      "ElsContentDemo1"
    ],
    "kebabName": "els-content"
  },
  "ElsScroll": {
    "name": "ElsScroll",
    "label": "自定义滚动条",
    "desc": "自定义滚动条，可以悬浮展示，不占空间，并且可以自定义样式",
    "sort": 2,
    "menu": "自定义滚动条",
    "group": "Base",
    "demos": [
      "ElsScrollDemo1"
    ],
    "kebabName": "els-scroll"
  },
  "ElsAnimationQueue": {
    "name": "ElsAnimationQueue",
    "label": "动画队列",
    "desc": "利用 CSS 动画完成事件来控制动画的加载和播放时机，实现按照特定规则加载不同的动画效果",
    "sort": 0,
    "menu": "动画队列",
    "group": "Animation",
    "demos": [
      "ElsAnimationQueueDemo1"
    ],
    "kebabName": "els-animation-queue"
  },
  "ElsPpt": {
    "name": "ElsPpt",
    "label": "幻灯片组件",
    "desc": "可以实现多个元素之间的幻灯片切换效果",
    "sort": 1,
    "menu": "幻灯片组件",
    "group": "Animation",
    "demos": [],
    "kebabName": "els-ppt"
  },
  "ElsTable": {
    "name": "ElsTable",
    "label": "抽象表格",
    "desc": "抽象表格组件，可以用抽象数据来生成表格，通过不同的属性来配置不同类型的表格",
    "sort": 3,
    "menu": "抽象表格",
    "group": "Base",
    "demos": [
      "ElsTableDemo1"
    ],
    "kebabName": "els-table"
  },
  "ElsIcon": {
    "name": "ElsIcon",
    "label": "图标组件，可以使用名称来使用内置的图标",
    "desc": "可以使用名称来使用内置的图标",
    "sort": 0,
    "menu": "图标",
    "group": "Data",
    "demos": [
      "ElsIconDemo1"
    ],
    "kebabName": "els-icon"
  },
  "ElsButton": {
    "name": "ElsButton",
    "label": "抽象按钮",
    "desc": "复杂的抽象按钮组件，可以通过配置完全自定义按钮并且可以使用或者修改内置的按钮",
    "sort": 1,
    "menu": "抽象按钮",
    "group": "Data",
    "demos": [
      "ElsButtonDemo1"
    ],
    "kebabName": "els-button"
  },
  "ElsTableOld": {
    "name": "ElsTableOld",
    "label": "旧版表格组件",
    "desc": "",
    "sort": 4,
    "menu": "旧版表格组件",
    "group": "Base",
    "demos": [
      "ElsTableOldDemo1"
    ],
    "kebabName": "els-table-old"
  },
  "ElsX6": {
    "name": "ElsX6",
    "label": "AntvX6 vue 节点组件",
    "desc": "通过 JSON 数据渲染节点数据，JSON 中可以定义节点外观，节点表单，节点IO 规则",
    "sort": 5,
    "menu": "AntvX6 vue 节点组件",
    "group": "Base",
    "demos": [
      "ElsX6Demo1"
    ],
    "kebabName": "els-x6"
  },
  "ElsMarkdown": {
    "name": "ElsMarkdown",
    "label": "Markdown 编辑器",
    "desc": "",
    "sort": 6,
    "menu": "Markdown 编辑器",
    "group": "Base",
    "demos": [
      "ElsMarkdownDemo1"
    ],
    "kebabName": "els-markdown"
  },
  "CodeEditor": {
    "name": "CodeEditor",
    "label": "代码编辑器",
    "desc": "支持多种代码格式的轻量级编辑器",
    "sort": 7,
    "menu": "代码编辑器",
    "group": "Base",
    "demos": [
      "CodeEditorDemo1"
    ],
    "kebabName": "code-editor"
  },
  "JsonView": {
    "name": "JsonView",
    "label": "JSON 数据展示",
    "desc": "展示 JSON 数据，可编辑值",
    "sort": 8,
    "menu": "JSON 数据展示",
    "group": "Base",
    "demos": [
      "JsonViewDemo1"
    ],
    "kebabName": "json-view"
  },
  "ElsListForm": {
    "name": "ElsListForm",
    "label": "动态表单元素组",
    "desc": "可以自由扩展的表单集合，支持多种类型的数据（字符串，JSON 对象，布尔值，数字，颜色，",
    "sort": 9,
    "menu": "表单集合",
    "group": "Base",
    "demos": [
      "ElsListFormDemo1"
    ],
    "kebabName": "els-list-form"
  },
  "DialogTable": {
    "name": "DialogTable",
    "label": "弹框表格",
    "desc": "",
    "sort": 10,
    "menu": "弹框表格",
    "group": "Base",
    "demos": [
      "DialogTableDEMO_0"
    ],
    "kebabName": "dialog-table"
  },
  "ModalOk": {
    "name": "ModalOk",
    "label": "自定义模态框",
    "desc": "",
    "sort": 11,
    "menu": "自定义模态框",
    "group": "Base",
    "demos": [
      "ModalOkDemo1"
    ],
    "kebabName": "modal-ok"
  },
  "ElsFormDesign": {
    "name": "ElsFormDesign",
    "label": "表单设计器",
    "desc": "通过拖拽和界面配置的方式生成表单数据，可以提供多种数据格式",
    "sort": 2,
    "menu": "表单设计器",
    "group": "Data",
    "demos": [
      "ElsFormDesignDEMO_1"
    ],
    "kebabName": "els-form-design"
  }
}

export const groups:Record<string,string[]> = {
  "Base": [
    "ElsElem",
    "ElsForm",
    "ElsScroll",
    "ElsTable",
    "ElsTableOld",
    "ElsX6",
    "ElsMarkdown",
    "CodeEditor",
    "JsonView",
    "ElsListForm",
    "DialogTable",
    "ModalOk"
  ],
  "LowCode": [
    "ElsContent"
  ],
  "Animation": [
    "ElsAnimationQueue",
    "ElsPpt"
  ],
  "Data": [
    "ElsIcon",
    "ElsButton",
    "ElsFormDesign"
  ]
}

export const plugins:Record<string,any> = {}

export const demos:Record<string,any> = {
  "ElsElemDemo1": {
    "name": "ElsElemDemo1",
    "label": "基础功能",
    "desc": "",
    "upper": "ElsElem",
    "group": "Base",
    "sort": 0
  },
  "ElsFormDemo1": {
    "name": "ElsFormDemo1",
    "label": "基础功能",
    "desc": "",
    "upper": "ElsForm",
    "group": "Base",
    "sort": 0
  },
  "ElsElemDemo2": {
    "name": "ElsElemDemo2",
    "label": "setup 和 render 函数用法",
    "desc": "",
    "upper": "ElsElem",
    "group": "Base",
    "sort": 1
  },
  "ElsFormDemo2": {
    "name": "ElsFormDemo2",
    "label": "校验规则演示",
    "desc": "",
    "upper": "ElsForm",
    "group": "Base",
    "sort": 1
  },
  "ElsFormDemo3": {
    "name": "ElsFormDemo3",
    "label": "深层嵌套表单用法",
    "desc": "可以通过 prop 的不同写法生成各种不同类型的嵌套数据结构",
    "upper": "ElsForm",
    "group": "Base",
    "sort": 2
  },
  "ElsContentDemo1": {
    "name": "ElsContentDemo1",
    "label": "基础用法",
    "desc": "展示部分功能的用法",
    "upper": "ElsContent",
    "group": "LowCode",
    "sort": 0
  },
  "ElsScrollDemo1": {
    "name": "ElsScrollDemo1",
    "label": "基础功能展示",
    "desc": "",
    "upper": "ElsScroll",
    "group": "Base",
    "sort": 0
  },
  "ElsAnimationQueueDemo1": {
    "name": "ElsAnimationQueueDemo1",
    "label": "基础用法",
    "desc": "",
    "upper": "ElsAnimationQueue",
    "group": "Animation",
    "sort": 0
  },
  "ElsTableDemo1": {
    "name": "ElsTableDemo1",
    "label": "基础功能展示",
    "desc": "",
    "upper": "ElsTable",
    "group": "Base",
    "sort": 0
  },
  "ElsButtonDemo1": {
    "name": "ElsButtonDemo1",
    "label": "基础功能",
    "desc": "",
    "upper": "ElsButton",
    "group": "Data",
    "sort": 0
  },
  "ElsIconDemo1": {
    "name": "ElsIconDemo1",
    "label": "图标展示",
    "desc": "",
    "upper": "ElsIcon",
    "group": "Data",
    "sort": 0
  },
  "ElsTableOldDemo1": {
    "name": "ElsTableOldDemo1",
    "label": "基础功能",
    "desc": "",
    "upper": "ElsTableOld",
    "group": "Base",
    "sort": 0
  },
  "ElsX6Demo1": {
    "name": "ElsX6Demo1",
    "label": "",
    "desc": "",
    "upper": "ElsX6",
    "group": "Base",
    "sort": 0
  },
  "ElsMarkdownDemo1": {
    "name": "ElsMarkdownDemo1",
    "label": "",
    "desc": "",
    "upper": "ElsMarkdown",
    "group": "Base",
    "sort": 0
  },
  "CodeEditorDemo1": {
    "name": "CodeEditorDemo1",
    "label": "",
    "desc": "",
    "upper": "CodeEditor",
    "group": "Base",
    "sort": 0
  },
  "JsonViewDemo1": {
    "name": "JsonViewDemo1",
    "label": "",
    "desc": "",
    "upper": "JsonView",
    "group": "Base",
    "sort": 0
  },
  "ElsListFormDemo1": {
    "name": "ElsListFormDemo1",
    "label": "",
    "desc": "",
    "upper": "ElsListForm",
    "group": "Base",
    "sort": 0
  },
  "DialogTableDEMO_0": {
    "name": "DialogTableDEMO_0",
    "label": "",
    "desc": "",
    "upper": "DialogTable",
    "group": "Base",
    "sort": 0
  },
  "ModalOkDemo1": {
    "name": "ModalOkDemo1",
    "label": "自定义弹窗示例",
    "desc": "可以自定义弹窗的标题，底部按钮",
    "upper": "ModalOk",
    "group": "Base",
    "sort": 0
  },
  "ElsFormDesignDEMO_1": {
    "name": "ElsFormDesignDEMO_1",
    "label": "",
    "desc": "",
    "upper": "ElsFormDesign",
    "group": "Data",
    "sort": 0
  }
}

export const groupData:Record<string,any> = {
  "Base": {
    "name": "Base",
    "label": "基础分组",
    "desc": "",
    "parent": "root",
    "sort": 0
  },
  "LowCode": {
    "name": "LowCode",
    "label": "低代码",
    "desc": "低代码相关组件",
    "parent": "root",
    "sort": 1
  },
  "Animation": {
    "name": "Animation",
    "label": "动效分组",
    "desc": "各种带动画效果的组件",
    "parent": "root",
    "sort": 0
  },
  "Data": {
    "name": "Data",
    "label": "数据分组",
    "desc": "常规数据，如 内置图标，按钮等数据，以及使用这些数据的组件",
    "parent": "root",
    "sort": 0
  },
  "Group": {
    "name": "Group",
    "label": "选择分组",
    "desc": "自定义分页选择框，可自定义大小，样式，是否分页，清除，过滤等相关属性",
    "parent": "root",
    "sort": 0
  }
}

export const pluginGroups:Record<string,string[]> = {}

export const pluginGroupData:Record<string,any> = {}

export const pluginDemos:Record<string,any> = {}
